from selenium import webdriver
from selenium.webdriver import ActionChains

import time
browser = webdriver.Chrome('C:\\Users\\13050\\www\\mydjango_test\\chromedriver.exe')

browser.get('http://localhost:8080/login_week/')

browser.find_element_by_xpath('//*[@id="app"]/div/input[1]').send_keys('123')
browser.find_element_by_xpath('//*[@id="app"]/div/input[2]').send_keys(123)

button = browser.find_element_by_xpath('//*[@id="app"]/div/div/div[3]')

action = ActionChains(browser)

action.click_and_hold(button).perform()
action.reset_actions()

action.move_by_offset(271,0).perform()

browser.find_element_by_xpath('//*[@id="app"]/div/button').click()

time.sleep(3)

browser.close()